﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zor_Modes
{
    /// <summary>
    /// 完税证领用
    /// </summary>
    [Description("完税证领用")]
    [MetadataType(typeof(Zor_Certificate))] //reciveModel就是下面定义的字符规则
    public class Zor_Certificate
    {
        /// <summary>
        /// 完税证ID
        /// </summary>
        [DisplayName("完税证ID")]
        public int Certificate_Id
        {
            set;
            get;
        }

        /// <summary>
        /// 字轨
        /// </summary>
        [DisplayName("字轨")]
        public string Certificate_Zigui
        {
            set;
            get;
        }

        /// <summary>
        /// 领用人（读取部门表街道办ID）
        /// </summary>
        [DisplayName("领用人（读取部门表街道办ID）")]
        public int Certificate_CollarMan
        {
            set;
            get;
        }

        /// <summary>
        /// 起始税号
        /// </summary>
        [DisplayName("起始税号")]
        public string Certificate_StartTaxNum
        {
            set;
            get;
        }

        /// <summary>
        /// 结束税号
        /// </summary>
        [DisplayName("结束税号")]
        public string Certificate_EndTaxNum
        {
            set;
            get;
        }

        /// <summary>
        /// 完税证状态（0未启用，1启用）
        /// </summary>
        [DisplayName("完税证状态（0未启用，1启用）")]
        public int Certificate_state
        {
            set;
            get;
        }

        /// <summary>
        /// 创建人(用户ID)
        /// </summary>
        [DisplayName("创建人(用户ID)")]
        public int User_Id
        {
            set;
            get;
        }

        /// <summary>
        /// 创建时间
        /// </summary>
        [DisplayName("创建时间")]
        public string Certificate_CreateTime
        {
            set;
            get;
        }

        /// <summary>
        /// 修改时间
        /// </summary>
        [DisplayName("修改时间")]
        public int Certificate_ModifyTime
        {
            set;
            get;
        }

        /// <summary>
        /// 修改人(用户ID)
        /// </summary>
        [DisplayName("修改人(用户ID)")]
        public int Certificate_ModifyName
        {
            set;
            get;
        }

        /// <summary>
        /// 备注
        /// </summary>
        [DisplayName("备注")]
        public string Certificate_Remarks
        {
            set;
            get;
        }

        /// <summary>
        /// 填用
        /// </summary>
        [DisplayName("填用")]
        public int Certificate_FillIn
        {
            set;
            get;
        } 
        
        /// <summary>
        /// 作废
        /// </summary>
        [DisplayName("作废")]
        public int Certificate_Invalid
        {
            set;
            get;
        }

        /// <summary>
        /// 结存
        /// </summary>
        [DisplayName("结存")]
        public int Certificate_Balance
        {
            set;
            get;
        }

        /// <summary>
        /// 当前完税证号
        /// </summary>
        [DisplayName("当前完税证号")]
        public string Certificate_NowTaxNum
        {
            set;
            get;
        }
    }
}
